package com.jxsr.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@ApiModel("用户实体类")
@Data
public class User {
    @ApiModelProperty("用户姓名")
    private String name;
    @ApiModelProperty("用户性别")
    private String sex;
    @ApiModelProperty("用户年龄")
    private Integer age;

    public User(String name, String sex, Integer age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }
}
